home *** CD-ROM | disk | FTP | other *** search
/ SIGGRAPH 2002 Course Notes / SIGGRAPH 2002 - Course Notes - Disc 1.iso / pc / notes / 18 / supplemental_material / References / XHTML / xhtml11-20010531 / W3C-REC.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-05-31  |  2.3 KB  |  98 lines

  1. /* This is an SSI script. Policy:
  2.    (1) Use CVS
  3.    (2) send e-mail to w3t-comm@w3.org if you edit this
  4. */
  5. /* Style for a "Recommendation" */
  6.  
  7. /*
  8.    This is an SSI script. Policy:
  9.    (1) Use CVS
  10.    (2) send e-mail to w3t-comm@w3.org if you edit this
  11.  
  12.    This style sheet is included in all styles for technical reports.
  13.  
  14.    Acknowledgments:
  15.  
  16.    - 'background-color' doesn't work on Mac IE 3, but 'background'
  17.      does (Susan Lesch)
  18.  
  19.    - 'smaller' leads to illegible text in both Mac IE and Mac NS,
  20.      'small' is better: works in Mac NS, but is always 12pt in Mac IE
  21.      3 (Susan Lesch)
  22.  
  23.    $Id: W3C-REC.css,v 1.1 2001/05/30 15:04:41 ahby Exp $
  24. */
  25.  
  26. body {
  27.   margin: 2em 1em 2em 70px;
  28.   font-family: sans-serif;
  29.   color: black;
  30.   background: white;
  31.   background-position: top left;
  32.   background-attachment: fixed;
  33.   background-repeat: no-repeat;
  34. }
  35. :link { color: #00C; background: transparent }
  36. :visited { color: #609; background: transparent }
  37. :active { color: #C00; background: transparent }
  38.  
  39. th, td { /* ns 4 */
  40.   font-family: sans-serif;
  41. }
  42.  
  43. h1, h2, h3, h4, h5, h6 { text-align: left }
  44. /* background should be transparent, but WebTV has a bug */
  45. h1, h2, h3 { color: #005A9C; background: white }
  46. h1 { font: 170% sans-serif }
  47. h2 { font: 140% sans-serif }
  48. h3 { font: 120% sans-serif }
  49. h4 { font: bold 100% sans-serif }
  50. h5 { font: italic 100% sans-serif }
  51. h6 { font: small-caps 100% sans-serif }
  52.  
  53. .hide { display: none }
  54.  
  55. div.head { margin-bottom: 1em }
  56. div.head h1 { margin-top: 2em; clear: both }
  57. div.head table { margin-left: 2em; margin-top: 2em }
  58. div.head img { color: white; border: none } /* remove border from top image */
  59.  
  60. p.copyright { font-size: small }
  61. p.copyright small { font-size: small }
  62.  
  63. @media screen {  /* hide from IE3 */
  64. a:hover { background: #ffa } 
  65. }
  66.  
  67. pre { margin-left: 2em }
  68. /*
  69. p {
  70.   margin-top: 0.6em;
  71.   margin-bottom: 0.6em;
  72. }
  73. */
  74. dt, dd { margin-top: 0; margin-bottom: 0 } /* opera 3.50 */
  75. dt { font-weight: bold }
  76.  
  77. pre, code { font-family: monospace } /* navigator 4 requires this */
  78.  
  79. ul.toc {
  80.   list-style: disc;        /* Mac NS has problem with 'none' */
  81.   list-style: none;
  82. }
  83.  
  84. @media aural {  
  85.   h1, h2, h3 { stress: 20; richness: 90 }
  86.   .hide { speak: none }
  87.   p.copyright { volume: x-soft; speech-rate: x-fast }
  88.   dt { pause-before: 20% }
  89.   pre { speak-punctuation: code } 
  90. }
  91.  
  92.  
  93.  
  94. body {
  95.   background-image: url(logo-REC.gif);
  96. }
  97.  
  98.